package zh.codegym.task.task03.task0303;

/* 
货币兑换
*/

public class Solution {
    public static void main(String[] args) {
        //在此编写你的代码
        double v = convertEurToUsd(1, 2.0);
        System.out.println(v);
        double v1 = convertEurToUsd(2, 3.0);
        System.out.println(v1);
    }

    public static double convertEurToUsd(int eur, double exchangeRate) {
        //在此编写你的代码
        return eur * exchangeRate;
    }
}
